package cn.edu.fzu.delivery.session;

public final class SessionConstant {

    private SessionConstant() {
    }

    public static final String DELIVERY_ACCOUNT = "DELIVERY_ACCOUNT";

    // cookie name: 分布式 session id 通过 cookie 来跨服传递 
    public static final String DSESSIONID       = "DSESSIONID";

    public static final String COOKIE_PATH      = "/";

    // 退出登录的 uri
    public static final String LOGOUT_URI       = "/api/logout";

    public static final String TOKEN            = "token";

    public static final String CITY             = "city";

    // session 过期时间, 秒
    public static final int    SESSION_TIMEOUT  = 1800;
}
